package com.example.testplatform;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
@MapperScan("com.example.testplatform.mapper")
@ServletComponentScan
public class TestPlatformApplication {

    public static void main(String[] args) {
        // 设置系统默认编码为UTF-8
        System.setProperty("file.encoding", "UTF-8");
        System.setProperty("sun.jnu.encoding", "UTF-8");
        
        SpringApplication.run(TestPlatformApplication.class, args);
    }

}